package com.woniuxy.cloud.carl.carlgoods.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车型商品中间表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_car_sku")
public class CarSku implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 车辆商品联系id
     */
    @TableId(value = "car_sku_id", type = IdType.AUTO)
    private Long carSkuId;

    /**
     * 车辆id
     */
    private Long carId;

    /**
     * 商品id
     */
    private Long skuId;

    /**
     * 是否原厂推荐：0.非原厂推荐 1.原厂推荐
     */
    private Integer recommandFlag;


}
